<?php /* Smarty version Smarty-3.1.21, created on 2015-06-01 18:59:26
         compiled from "D:\mywamp\www\2015php\wenda\Admin\View\answer\index.html" */ ?>
<?php /*%%SmartyHeaderCode:27154556c3b0e51c857-27580765%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '88b0f8e8a1e9103ff1e0c453b992b94523969ad5' => 
    array (
      0 => 'D:\\mywamp\\www\\2015php\\wenda\\Admin\\View\\answer\\index.html',
      1 => 1433125950,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '27154556c3b0e51c857-27580765',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'result' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21',
  'unifunc' => 'content_556c3b0e67c168_35673519',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_556c3b0e67c168_35673519')) {function content_556c3b0e67c168_35673519($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_substr')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.substr.php';
if (!is_callable('smarty_modifier_date_format')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate ("../Common/head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">答案列表</td>
		</tr>
		<tr class="tableTop">
			<td class="tdLittle1">ID</td>
			<td>答案内容</td>
			<td>回答时间</td>
			<td>发表人</td>
			<td>操作</td>
		</tr>
		<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['result']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
		<tr>
			<td><?php echo $_smarty_tpl->tpl_vars['v']->value['anid'];?>
</td>
			<td><a href="<?php echo @constant('__ROOT__');?>
/index.php?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['v']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['v']->value['content'],45);?>
</a></td>
			<td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['time'],"%Y-%m-%d");?>
</td>
			<Td><a href="<?php echo @constant('__ROOT__');?>
/<?php echo @constant('APP_NAME');?>
.php?c=home&uid=<?php echo $_smarty_tpl->tpl_vars['v']->value['uid'];?>
"><?php echo $_smarty_tpl->tpl_vars['v']->value['username'];?>
</a></Td>
			<td>
				<a href="<?php echo @constant('__APP__');?>
?c=answer&a=del&anid=<?php echo $_smarty_tpl->tpl_vars['v']->value['anid'];?>
" class="del">删除</a>
			</td>
		</tr>
		<?php } ?>
	</table>
	<div class="page">
		共<?php echo count($_smarty_tpl->tpl_vars['result']->value);?>
条 &nbsp
		<!--<a href="">1</a>-->
	</div>

</body>
</html><?php }} ?>
